import { StackNavigator } from 'react-navigation';
import STRING from '../const_string_zh_CN';
import LoginPage from '../pages/login_page';

import TabNavigator from './TabNavigator'

const navigationOptions = {
    headerTitle: STRING.appname,
    headerTitleStyle: {
        color: 'black',
        textAlign: 'center',
        alignSelf: 'center',
    },
    headerLeft:null
}

const MOOCNavigator = StackNavigator({
    Login: { screen: LoginPage, navigationOptions: navigationOptions },
    Tab: { screen: TabNavigator, navigationOptions: { header: null } },
}, {

    });

export default MOOCNavigator;
